(function(){"use strict";BX.namespace("BX.Landing.UI.Button");BX.Landing.UI.Button.CreatePage=function(t,n){BX.Landing.UI.Button.EditorAction.apply(this,arguments);this.editPanel=null};BX.Landing.UI.Button.CreatePage.prototype={constructor:BX.Landing.UI.Button.CreatePage,__proto__:BX.Landing.UI.Button.EditorAction.prototype,onClick:function(t){t.preventDefault();t.stopPropagation();const n=this.contextDocument.getSelection().getRangeAt(0);const e=n.toString();const o=BX.Landing.UI.Panel.CreatePage.getInstance();o.setContextDocument(this.contextDocument);o.show({title:e})}}})();
//# sourceMappingURL=create_page.map.js